* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container{
    background-color: #d77070;
}
ul{
    list-style: none;
}
input[type="text"] {
    width: 100%;
    flex: 1;
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    &:focus {
        outline: none;
        border-color: #169bd5;
    }
    &::placeholder{
        color: #ccc;
    }
}

button {
    padding: 5px 10px;
    background-color: #169bd5;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.line{
    text-decoration: line-through;
}
.tasklist .btn-group .delBtn{
    background-color: rgb(189, 52, 52);
}


.container {
    width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.container h3 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}
.container .addtask {
    display: flex;
    justify-content: space-between;
    align-content: center;
    margin-bottom: 10px;
}
.container .search{
    margin-top: 10px;
    margin-bottom: 10px;
}

.container .tasklist li{
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 10px;
    background-color: #f8f8f8;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    transition: all 0.3s ease;
    &:hover{
        transform: translateY(-5px);
    }
}
.container .footer{
    font-size: 14px;
     color: #fff;
     display: flex;
     justify-content: space-between;
     align-content: center;
     margin-top: 15px;
}

    /* 弹框的基础样式 */
    #editAlertBox {
        display: none; /* 默认隐藏 */
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 20px;
        box-shadow: 0 0 10px rgba(0,0,0,.5);
        z-index: 1000;
        text-align: center;
    }
    #editAlertBox button {
        margin-top: 10px;
    }